package com.hnichr.ump.common.plan.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hnichr.ump.common.entity.UmpEntity;
import com.mxpioframework.jpa.annotation.Generator;
import com.mxpioframework.security.entity.Dept;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
import java.util.List;


@Data
@EqualsAndHashCode(callSuper=false)
@Schema(description = "重点工作VO")
public class PlanSchedulesVo implements Serializable {
    private static final long serialVersionUID = -1L;

    @Schema(description = "ID")
    private String id;

    @Schema(description = "计划年份")
    private String planYear;

    @Schema(description = "分解来源")
    private String source ;

    @Schema(description = "工作大类")
    private String category ;

    @Schema(description = "重点工作")
    private String priority ;

    @Schema(description = "完成标志")
    private String completionMark;

    @Schema(description = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startTime;

    @Schema(description = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;

    @Schema(description = "分管领导")
    private String leaderName;

    @Schema(description = "主责部门id")
    private List<String> deptIds;

}
